#include <stdio.h>
int main()
{
    double num;
    int a;
    scanf("%lf %d", &num, &a);
    printf("%.3lf\n", num / a);
    printf("%d\n", a * 2);

    return 0;
}